package com.jnevision.insurancerate.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 社保费率
 * </p>
 *
 * @author gavin
 * @since 2019-07-18
 */
@TableName("b_insurance_rate")
public class InsuranceRate extends Model<InsuranceRate> {
    private static final long serialVersionUID = 5220185964305835146L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("yanglao")
    private String yanglao;

    @TableField("yiliao")
    private String yiliao;

    @TableField("shiye")
    private String shiye;

    @TableField("gongshang")
    private String gongshang;

    @TableField("shengyu")
    private String shengyu;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getYanglao() {
        return yanglao;
    }

    public void setYanglao(String yanglao) {
        this.yanglao = yanglao;
    }

    public String getYiliao() {
        return yiliao;
    }

    public void setYiliao(String yiliao) {
        this.yiliao = yiliao;
    }

    public String getShiye() {
        return shiye;
    }

    public void setShiye(String shiye) {
        this.shiye = shiye;
    }

    public String getGongshang() {
        return gongshang;
    }

    public void setGongshang(String gongshang) {
        this.gongshang = gongshang;
    }

    public String getShengyu() {
        return shengyu;
    }

    public void setShengyu(String shengyu) {
        this.shengyu = shengyu;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "InsuranceRate{" + "id=" + id + ", yanglao=" + yanglao + ", yiliao=" + yiliao + ", shiye=" + shiye
            + ", gongshang=" + gongshang + ", shengyu=" + shengyu + "}";
    }
}